package com.zhoux;

import org.springframework.boot.Banner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author:  taoyi
 * @date:    2021/5/29 10:42
 * @version: 1.0
 * @explain:
 */
@SpringBootApplication //表示这个类是以这个启动类
public class RunApp {
    public static void main(String[] args) {
        //启动SpringBoot框架
        // SpringApplication.run(RunApp.class,args);
        SpringApplication app = new SpringApplication(RunApp.class);
        // Banner.Mode.OFF:关闭启动的Banner
        //app.setBannerMode(Banner.Mode.OFF);
        app.run();
    }
}
